package com.shopoo.oauth.dto.cqe;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

import com.shopoo.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description:
 * @Auther: limy66
 * @Date: 2021/03/23/16:22
 */
@Data
public class UserCheckCmd extends Command {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    @Size(min = 2, max = 50, message = "用户名长度必须大于等于2个字符且小于等于50个字符")
    private String username;
}
